﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using FinosLibrary;
using System.Xml;
using System.Xml.Serialization;
namespace FinosLibrary.Client {
    public class CNetConnection : NetConnection {
        public void Connect(string host, string appname) {
            base.Connect(new DnsEndPoint(host, 4502, System.Net.Sockets.AddressFamily.InterNetwork), appname);
        }
        public CNetConnection()
            : base() {
        }
        
        private static CNetConnection instance;
        public static CNetConnection getInstance() {
            if (instance == null) {
                instance = new CNetConnection();
            }
            return instance;
        }
    }
}
